import { createApp } from "vue";
import "element-plus/dist/index.css";
import ElementPlus from "element-plus";
import App from "@/App.vue";
import 'virtual:svg-icons-register'
import SvgIcon from "@/components/SvgIcon/index.vue";
// 引入自定义插件对象 注册整个项目全局组件
import globalComponent from '@/components'
// 引入模板全局样式
import '@/styles/index.scss'
//引入路由
import router from './router'
import { createPinia } from 'pinia';
const pinia = createPinia();
// 安装自定义插件
createApp(App).use(ElementPlus).component('SvgIcon', SvgIcon).use(globalComponent).use(router).use(pinia).mount("#app");
